//流水业务状态
exports.BusinessStatus = {
    Start: {Value: 0, Text: '开始'},
    Complete: {Value: 1, Text: '完成'}
};

exports.BarcodeType = {
    ItemMaster: {Value: 0, Text: '物料'},
    Part: {Value: 1, Text: '部件'},
    Warehouse: {Value: 2, Text: '仓库'},
    Container: {Value: 3, Text: '容器'},
    Device: {Value: 4, Text: '设备'},
    Person: {Value: 5, Text: '人'},
    Other: {Value: 6, Text: '其他'}
};

//条码状态
exports.BarcodeStatus = {
    NoActive: {Value: 0, Text: '未激活'},
    Online: {Value: 1, Text: '已上线'},
    Downline: {Value: 2, Text: '已下线'},
    Scrap: {Value: 3, Text: '已报废'},
    Complete: {Value: 4, Text: '已完工'},
    Invalid: {Value: 5, Text: '芯片失效'}
};

//异常信息
exports.ExceptionType = {
    DrainScard: {Value: 0, Text: '漏刷卡'},
    ScrappedScan: {Value: 1, Text: '报废异常扫描'},
    ReverseScan: {Value: 2, Text: '倒序扫描'},
    ReworkScan: {Value: 3, Text: '返工异常扫描'},
    System: {Value: 4, Text: '系统异常'},
    SpecialRuling: {Value: 5, Text: '特裁异常'},
    JudgeScan: {Value: 6, Text: '判定扫描异常'},
    TimingScan: {Value: 7, Text: '计时扫描异常'}
};